#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Indexes;
using Cephei.QL;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! It is NOT a coupon, i.e. no accruals.
	/// </summary>
    [Guid ("AD38037B-05CF-4c3d-B16A-FF41D8DDB0D0"),ComVisible(true)]
	public interface ICPICashFlow : Cephei.QL.Cashflows.IIndexedCashFlow
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double Amount {get;}
        /// <summary> 
		/// 
		/// </summary>
		 DateTime BaseDate {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double BaseFixing {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Times.FrequencyEnum Frequency {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Cashflows.CPI.InterpolationTypeEnum Interpolation {get;}
    }   

    /// <summary> 
	/// ! It is NOT a coupon, i.e. no accruals. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ICPICashFlow_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    ICPICashFlow Create (Double notional, Cephei.QL.Indexes.IZeroInflationIndex index, DateTime baseDate, Double baseFixing, DateTime fixingDate, DateTime paymentDate, Microsoft.FSharp.Core.FSharpOption<Boolean> growthOnly, Microsoft.FSharp.Core.FSharpOption<QL.Cashflows.CPI.InterpolationTypeEnum> interpolation, Microsoft.FSharp.Core.FSharpOption<QL.Times.FrequencyEnum> frequency);
    }
}

